package chat.constant;

public class MessageType {
    /**
     * 发送到服务器
     */
    public static final int TO_SERVER = 1;
    /**
     * 发送给指定好友
     */
    public static final int TO_FRIEND = 2;
    /**
     * 群发
     */
    public static final int TO_ALL = 3;
    /**
     * 登录
     */
    public static final int LOGIN = 4;

    /**
     * 客户端
     */
    public static final int CLIENT = 5;

    /**
     * 服务端
     */
    public static final int SERVER = 6;

    /**
     * 注册
     */
    public static final int REGISTER = 7;

    /**
     * 接收信息
     */
    public static final int RECEIVE = 8;

    /**
     * 退出
     */
    public static final int EXIT = -1;
}
